<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/common/include/page.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<h2 class="contentTitle">投资方信息更新</h2>


<div class="pageContent">

	<form method="post"
		 action="${rootpath}/back/investor/investorUpdateSubmit.htm"
		class="pageForm required-validate"
		 enctype="multipart/form-data"
		onsubmit="return iframeCallback(this);">
		
		<input type="hidden" name="id" value="${investor.id}"/>
		<div class="pageFormContent nowrap" layoutH="97">
			<dl>
				<dt>公司名称：</dt>
				<dd>
					<input type="text" value="${investor.name}" name="name" class="required" /> 
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>公司代码：</dt>
				<dd>
					<input type="text" value="${investor.code}" name="code" class="required"/> 
						<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>网址：</dt>
				<dd>
					<input type="text" value="${investor.url}" name="url" /> 
						<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>联系人：</dt>
				<dd>
					<input type="text" value="${investor.contactName}" name="contactName" /> 
						<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>联系电话：</dt>
				<dd>
					<input type="text" value="${investor.contactPhone}" name="contactPhone" /> 
						<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>公司原LOGO：</dt>
				<dd>
					<img src="${rootpath}${investor.logo}" width="80px" alt="公司logo"/>
				</dd>
			</dl>
			<dl>
				<dt>公司新LOGO：</dt>
				<dd>
					<input type="file" name="file" />
				</dd>
			</dl>
			<dl>
				<dt>总数量：</dt>
				<dd>
					<input type="text" value="${investor.totalNum}" name="totalNum" class="required" /> 
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>成交量：</dt>
				<dd>
					<input type="text" value="${investor.succedNum}" name="succedNum" class="required"/>
					 <span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>公司类型：</dt>
				<dd>
					<input type="radio" ${requestScope.investor.coopType=='1'?'checked':''} value="1" name="coopType" id="coopType1InvestorUpdate"/>
						<label class="lableNoFloat" for="coopType1InvestorUpdate">非直通</label>
					<input type="radio" ${requestScope.investor.coopType=='0'?'checked':''} value="0" name="coopType" id="coopType0InvestorUpdate"/>
						<label class="lableNoFloat" for="coopType0InvestorUpdate">直通</label>
				</dd>
			</dl>
			<dl>
				<dt>状态：</dt>
				<dd>
					<input type="radio" ${requestScope.investor.status=='1'?'checked':''} value="1" name="status" id="status1InvestorUpdate"/>
						<label class="lableNoFloat" for="status1InvestorUpdate">启用</label>
					<input type="radio" ${requestScope.investor.status=='0'?'checked':''} value="0" name="status" id="status0InvestorUpdate"/>
						<label class="lableNoFloat" for="status0InvestorUpdate">禁用</label>
				</dd>
			</dl>
			<dl>
				<dt>投资方描述：</dt>
				<dd>
					<textarea class="editor" value="${investor.content}" name="content" rows="8" cols="100"
								upLinkUrl="upload.php" upLinkExt="zip,rar,txt" 
								upImgUrl="upload.php" upImgExt="jpg,jpeg,gif,png" 
								upFlashUrl="upload.php" upFlashExt="swf"
								upMediaUrl="upload.php" upMediaExt:"avi">
								${investor.content}
					</textarea>
				</dd>
			</dl>

			<div class="divider"></div>
			<p>自定义扩展请参照：dwz.validate.method.js</p>
			<p>错误提示信息国际化请参照：dwz.regional.zh.js</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div></li>
				<li><div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div></li>
			</ul>
		</div>
	</form>

</div>


<script type="text/javascript">
	function customvalidXxx(element) {
		if ($(element).val() == "xxx")
			return false;
		return true;
	}
</script>
